<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

请求的路径是<% out.print(request.getContextPath());%>
<form:form action="addUser" method="post" modelAttribute="user">
        id:<form:input path="id"/><form:errors path="id"/><br>
        userName:<form:input path="userName" cssErrorClass="userNameError"/><form:errors path="userName"/><br>
        age:<form:input path="age"/><form:errors path="age"/><br>
        password:<form:password path="password" showPassword="false"  /><form:errors path="password"/><br>
        
<%--         来自 哪里:<form:select path="id" items="${category }" ></form:select> --%>
        <input type="submit" value="submit">
    </form:form>
</body>
</html>